package org.devgframwork.rabbitmq;

import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.Envelope;

import java.io.IOException;

public interface RabbitMessageHander<T> {
    void messageHander(String consumerTag, Envelope envelope, AMQP.BasicProperties properties, T message) throws IOException;
}
